package com.hanrui.android.model;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.io.Serializable;
import java.util.List;

public class GetNextActvityBean {

    /**
     * nextActivity : {"name":"分管领导意见","type":"userTask","prvName":"人力资源部负责人意见","nextAssigneeList":[{"id":"2823517ea2f84020b30d5b7b4735d7e6","name":"周毅"},{"id":"fa4e587e7e834e5f80a2419b2ca34a75","name":"张翼达"}]}
     */

    private NextActivityBean nextActivity;

    public NextActivityBean getNextActivity() {
        return nextActivity;
    }

    public void setNextActivity(NextActivityBean nextActivity) {
        this.nextActivity = nextActivity;
    }

    public  class NextActivityBean implements Serializable {
        public NextActivityBean(){}
        /**
         * name : 分管领导意见
         * type : userTask
         * prvName : 人力资源部负责人意见
         * nextAssigneeList : [{"id":"2823517ea2f84020b30d5b7b4735d7e6","name":"周毅"},{"id":"fa4e587e7e834e5f80a2419b2ca34a75","name":"张翼达"}]
         */

        private String name;
        private String type;
        private String prvName;
        private List<NextAssigneeListBean> nextAssigneeList;
        private List<TransitionsListBean> transitions;

        public List<TransitionsListBean> getTransitions() {
            return transitions;
        }

        public void setTransitions(List<TransitionsListBean> transitions) {
            this.transitions = transitions;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPrvName() {
            return prvName;
        }

        public void setPrvName(String prvName) {
            this.prvName = prvName;
        }

        public List<NextAssigneeListBean> getNextAssigneeList() {
            return nextAssigneeList;
        }

        public void setNextAssigneeList(List<NextAssigneeListBean> nextAssigneeList) {
            this.nextAssigneeList = nextAssigneeList;
        }

        public  class NextAssigneeListBean implements Serializable{
            /**
             * id : 2823517ea2f84020b30d5b7b4735d7e6
             * name : 周毅
             */
            public NextAssigneeListBean(){}

            public NextAssigneeListBean(String id, String name) {
                this.id = id;
                this.name = name;
            }

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }


        public class TransitionsListBean implements Serializable,IPickerViewData {

            /**
             * id : sid-BB0F19E1-4CF8-46C1-B685-FDCFF7ECE137
             * name : 费用<5000
             * type : ${pass==0}
             * assigneeMultiselect : 0
             */

            private String id;
            private String name;
            private String type;
            private String assigneeMultiselect;
            private List<NextAssigneeListBean> nextAssigneeList;

            public List<NextAssigneeListBean> getNextAssigneeList() {
                return nextAssigneeList;
            }

            public void setNextAssigneeList(List<NextAssigneeListBean> nextAssigneeList) {
                this.nextAssigneeList = nextAssigneeList;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAssigneeMultiselect() {
                return assigneeMultiselect;
            }

            public void setAssigneeMultiselect(String assigneeMultiselect) {
                this.assigneeMultiselect = assigneeMultiselect;
            }

            @Override
            public String getPickerViewText() {
                return name;
            }
        }
    }
}
